package com.rongc.client.core.network.params;


import com.rongc.client.core.utils.NetworkUtils;
import com.rongc.client.freight.UniApplication;

import java.util.HashMap;

public class BaseParams extends HashMap<String, String> {

    public static final String CLIENT_ID = "clientId";
    public static final String CLIENT_SECRET = "clientSecret";
    public static final String DEVICE_ID = "device_id";
    public static final String DEVICE_INFO = "device_info";

    public BaseParams() {
//        put(CLIENT_ID, "tka9c1c5_android_1.0");
//        put(CLIENT_SECRET, "1b4c1f911b7a32805deb1b87c24a6ee4");
//        put(DEVICE_ID, DeviceUtils.getDeviceId());
//        put(DEVICE_INFO, DeviceUtils.getDeviceInfo());
        put("sign", NetworkUtils.getMacAddress(UniApplication.getInstance()));

    }

    public BaseParams(HashMap<String, String> hm){
        super(hm);
    }

}
